package com.whmskj.xjlhsc.stationmachine.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.whmskj.xjlhsc.controller.vo.Result;
import com.whmskj.xjlhsc.stationmachine.service.IMaintenanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiaruchun
 * @date 2025-09-18 18:53
 * @Description: 设备维护
 */
@SaIgnore
@RestController
@RequestMapping("/cockpit/maintenance")
public class DeviceMaintenanceController {

    @Autowired
    private IMaintenanceService maintenanceService;
    @GetMapping
    public Result getMaintenance(){
        return Result.success(maintenanceService.getMaintenance());
    }
}
